/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package framework.view;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Tulio Faria <tuliofaria@gmail.com>
 */
public class BaseMenu {
    protected BaseMenuGroup mainMenu;
    protected List aditionalMenus;

    public BaseMenu() {
        aditionalMenus = new ArrayList();
    }
    public void addMenu(BaseMenuGroup menu){
        getAditionalMenus().add(menu);
    }

    public BaseMenuGroup getMainMenu() {
        return mainMenu;
    }

    public void setMainMenu(BaseMenuGroup mainMenu) {
        this.mainMenu = mainMenu;
    }

    public List getAditionalMenus() {
        return aditionalMenus;
    }

    public void setAditionalMenus(List aditionalMenus) {
        this.aditionalMenus = aditionalMenus;
    }
}
